part of '../repository.dart';

class _WebPurchasedSubscriptionCancellationSuccessfulResponseDto {
  const _WebPurchasedSubscriptionCancellationSuccessfulResponseDto._internal({
    required this.purchasedSubscriptionDto,
  });

  final _WebPurchasedSubscriptionDto purchasedSubscriptionDto;

  factory _WebPurchasedSubscriptionCancellationSuccessfulResponseDto.fromJson(
      Map<String, dynamic> json) {
    final purchasedSubscriptionJson = json['web_purchased_subscription'] as Map<String, dynamic>;

    final purchasedSubscriptionDto =
        _WebPurchasedSubscriptionDto.fromJson(purchasedSubscriptionJson);

    return _WebPurchasedSubscriptionCancellationSuccessfulResponseDto._internal(
      purchasedSubscriptionDto: purchasedSubscriptionDto,
    );
  }
}
